//
//  AppCenter.h
//  JFTwxsd
//
//  Created by Steven on 2018/4/20.
//  Copyright © 2018年 junfeiweiyejiaoyujituan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Singleton.h"

#define App [AppCenter sharedAppCenter]
@interface AppCenter : NSObject
singleton_interface(AppCenter);

//控制审核相关
@property(nonatomic, assign)BOOL isChange;

@property(nonatomic, copy)NSString *alipayNickname;
@property(nonatomic, copy)NSString *alipayHeader;
@property(nonatomic, copy)NSString *alipayUserId;
//是否为右上角开店进入
@property(nonatomic, assign)BOOL isRealShopIn;
//收到推送请求网络
@property(nonatomic, assign)BOOL needRefresh;
@property(nonatomic, assign)BOOL isChargeIn;
//是否设置过支付密码
@property(nonatomic, assign)BOOL isSetPayPwd;

//真实姓名
@property(nonatomic, copy)NSString *realName;

@property (assign, nonatomic) NSInteger willEnterForgroundToGo;


//SopotLight监听
@property(nonatomic, strong)NSDictionary *spotData;

/**
 是否有网络连接（不是wifi连接）
 */

@property (nonatomic, assign) BOOL isNet;
/**
 支付数字key
 */

@property (nonatomic, strong) NSString * _Nonnull payKey;


/**
 
 暂存orderId
 */
@property(nonatomic, copy)NSString *holder_orderId;


/**
 监测购物车清空情况
 */
@property(nonatomic, assign)BOOL isClearData;

///控制银联支付页面dismiss
@property (nonatomic, strong) UIViewController *dismissController;

@end
